home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’97 / Warrior’s Progress / source code / Source / Libraries / Errors / UserCancelledError.h < prev   
Encoding:
Text File  |  1997-06-28  |  261 b   |  19 lines  |  [TEXT/CWIE]

  1. // UserCancelledError.h
  2.  
  3. #ifndef UserCancelledError_h
  4. #define UserCancelledError_h
  5.  
  6. #ifndef OSError_h
  7. #include "OSError.h"
  8. #endif
  9.  
  10. class UserCancelledError: public OSError
  11.   {
  12.     public:
  13.         UserCancelledError()
  14.           : OSError( userCanceledErr )
  15.           {}
  16.   };
  17.  
  18. #endif
  19.